export const getImageUrl = (name,type='png') => {
    return new URL(
      // 本地资源路径
      `/src/assets/images/tool_icon/${name}.${type}`,
      import.meta.url
    ).href;
  };